home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Kick Pascal v2.10 d1.adf / INCLUDE / intuition / preferences.h < prev    next >
Text File  |  1990-11-01  |  3KB  |  123 lines

  1. {$if not def INTUITION_PREFERENCES_H}
  2. Const INTUITION_PREFERENCES_H=TRUE;
  3. {$if not def DEVICES_TIMER_H;incl"devices/timer.h";endif}
  4. Const
  5.  FILENAME_SIZE=30;
  6.  POINTERSIZE=36; {(1+16+1)*2}
  7.  TOPAZ_EIGHTY=8;
  8.  TOPAZ_SIXTY=9;
  9.  PREF_EXTBYTES=0;
  10. Type
  11. p_Preferences=^Preferences;
  12. Preferences=Record
  13.  FontHeight:Short;
  14.  PrinterPort:Byte;
  15.  BaudRate:integer;
  16.  KeyRptSpeed,KeyRptDelay,DoubleClick:timeval;
  17.  PointerMatrix:Array[0..35]of Word;
  18.  XOffset,YOffset:Short;
  19.  color17,color18,color19:Word;
  20.  PointerTicks:Word;
  21.  color0,color1,color2,color3:Word;
  22.  ViewXOffset,ViewYOffset:Short;
  23.  ViewInitX,ViewInitY:integer;
  24.  EnableCLI:Boolean;
  25.  PrinterType:Word;
  26.  PrinterFilename:String[FILENAME_SIZE];
  27.  PrintPitch,PrintQuality,PrintSpacing:Word;
  28.  PrintLeftMargin,PrintRightMargin:Word;
  29.  PrintImage,PrintAspect,PrintShade:Word;
  30.  PrintThreshold:integer;
  31.  PaperSize:Word;
  32.  PaperLength:Word;
  33.  PaperType:Word;
  34.  SerRWBits,SerStopBuf,SerParShk,LaceWB:Byte;
  35.  WorkName:String[FILENAME_SIZE];
  36.  RowSizeChange:Short;
  37.  ColumnSizeChange:Short;
  38.  PrintFlags,PrintMaxWidth,PrintMaxHeight:Word;
  39.  PrintDensity,PrintXOffset:Byte;
  40.  wb_Width,wb_Height:Word;
  41.  wb_Depth,ext_size:Byte;
  42. End;
  43. Const
  44.  LACEWB=$01;
  45.  PARALLEL_PRINTER=$00;
  46.  SERIAL_PRINTER=$01;
  47.  BAUD_110=$00;
  48.  BAUD_300=$01;
  49.  BAUD_1200=$02;
  50.  BAUD_2400=$03;
  51.  BAUD_4800=$04;
  52.  BAUD_9600=$05;
  53.  BAUD_19200=$06;
  54.  BAUD_MIDI=$07;
  55.  FANFOLD=$00;
  56.  SINGLE=$80;
  57.  PICA=$000;
  58.  ELITE=$400;
  59.  FINE=$800;
  60.  DRAFT=$000;
  61.  LETTER=$100;
  62.  SIX_LPI=$000;
  63.  EIGHT_LPI=$200;
  64.  IMAGE_POSITIVE=$00;
  65.  IMAGE_NEGATIVE=$01;
  66.  ASPECT_HORIZ=$00;
  67.  ASPECT_VERT=$01;
  68.  SHADE_BW=$00;
  69.  SHADE_GREYSCALE=$01;
  70.  SHADE_COLOR=$02;
  71.  US_LETTER=$00;
  72.  US_LEGAL=$10;
  73.  N_TRACTOR=$20;
  74.  W_TRACTOR=$30;
  75.  CUSTOM=$40;
  76.  CUSTOM_NAME=$00;
  77.  ALPHA_P_101=$01;
  78.  BROTHER_15XL=$02;
  79.  CBM_MPS1000=$03;
  80.  DIAB_630=$04;
  81.  DIAB_ADV_D25=$05;
  82.  DIAB_C_150=$06;
  83.  EPSON=$07;
  84.  EPSON_JX_80=$08;
  85.  OKIMATE_20=$09;
  86.  QUME_LP_20=$0A;
  87.  HP_LASERJET=$0B;
  88.  HP_LASERJET_PLUS=$0C;
  89.  SBUF_512=$00;
  90.  SBUF_1024=$01;
  91.  SBUF_2048=$02;
  92.  SBUF_4096=$03;
  93.  SBUF_8000=$04;
  94.  SBUF_16000=$05;
  95.  SREAD_BITS=$F0;
  96.  SWRITE_BITS=$0F;
  97.  SSTOP_BITS=$F0;
  98.  SBUFSIZE_BITS=$0F;
  99.  SPARITY_BITS=$F0;
  100.  SPARITY_NONE=0;
  101.  SPARITY_EVEN=1;
  102.  SPARITY_ODD=2;
  103.  SHSHAKE_XON=0;
  104.  SHSHAKE_RTS=1;
  105.  SHSHAKE_NONE=2;
  106.  CORRECT_RED=$0001;
  107.  CORRECT_GREEN=$0002;
  108.  CORRECT_BLUE=$0004;
  109.  CENTER_IMAGE=$0008;
  110.  IGNORE_DIMENSIONS=$0000;
  111.  BOUNDED_DIMENSIONS=$0010;
  112.  ABSOLUTE_DIMENSIONS=$0020;
  113.  PIXEL_DIMENSIONS=$0040;
  114.  MULTIPLY_DIMENSIONS=$0080;
  115.  INTEGER_SCALING=$0100;
  116.  ORDERED_DITHERING=$0000;
  117.  HALFTONE_DITHERING=$0200;
  118.  FLOYD_DITHERING=$0400;
  119.  ANTI_ALIAS=$0800;
  120.  GREY_SCALE2=$1000;
  121. {$endif}
  122.  
  123.